package com.tian.mapper;

import com.tian.entity.UserPoint;
import java.util.List;

public interface UserPointMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserPoint record);

    UserPoint selectByPrimaryKey(Long id);
    UserPoint selectByUserId(Long userId);

    List<UserPoint> selectAll();
    List<UserPoint> selectByRankCount(Integer rankCount);

    int updateByPrimaryKey(UserPoint record);
}